package com.daixin.blog.mapper;

import com.daixin.blog.dto.QuestionDTO;
import com.daixin.blog.model.Comment;
import com.daixin.blog.model.Question;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Author daixin
 */
@Component
public interface QuestionExMapper {
    //阅读数增加
    int incView(Question question);
    //评论数
    int incCommentCount(Question question);

}
